DESCRIPTION Choose one of these designs to style your Web site. This picks the graphics that display on the Home Page and the main pages linked from the home pages.\n\nThis does not affect the personal styling of each family member's pages.
;xxxxxxxxxxxxxxxxxxxxx CHANGE USER SETTINGS xxxxxxxxxxxxxxxxxxxxxxxx
[ModifyUserSettings]
IF beenOnce <> 1
SETTEMP inpL1 = 1
ENDIF
;text or picture for personal link page
;adjust publish settings
;add to list of family sites after a restore
IF skipExplanations = NN
SETTEMP exmodetxt = "&Switch to EXPERT mode"
ELSE
SETTEMP exmodetxt = "&Switch to NOVICE mode"
ENDIF
BACKSTOP ModSettings
PAGE
WIZPIC wizpics\wiztheme.gif
TYPE RADIOBUTTONSWITHTEXT
NAME inpL1
DESCRIPTION This allows you to make changes to the controls for the Homepage Expert and to other settings that affect you family Web site.
ARGUMENT exmodetxt@1@"\nThis allows you to determine if certain questions will be skipped or not.\n\nWhen set to EXPERT, certain displays with information about 'why' are skipped. When set to NOVICE, all displays are provided."
ARGUMENT "Change &E-Mail address"@2@"\nYour home page contains an E-Mail address. Choose this item to change the E-Mail address from its present value, which is ",email,"."
ARGUMENT "Change Server &Host Settings"@3@"\nChoose this item to change the server on the Internet that holds your family Web site.\n\nYou would choose this if you have changed the location of your Web site, by changing ISPs or signing up for PlanetCyberspace."
ARGUMENT "&Change color/font for Omit pictures"@4@"\nIf you choose to OMIT the picture of a family member, the wizard makes a picture with that person's name in it.\n\nThis setting lets you change the colors used in the picture and change the font that is used."
ARGUMENT "Ser&vice Department"@5@"\nDO NOT CHOOSE THIS UNLESS TOLD BY TECHNICAL SUPPORT\n\nThis option is only for Expert's service personnel to use to help you. It is very dangerous!"
ARGUMENT "&Done with changes"@6@"\nChoose this item when you have finished making changes to the settings."
IF inpL1 <> 6
IF inpL1 = 1 ;adjust expert mode
IF skipExplanations = NN
SET skipExplanations = YY
ELSE
SET skipExplanations = NN
ENDIF
SAVEVARIABLES
ARGUMENT modulepath( "WWDATA.VAR" )
ARGUMENT skipExplanations
ENDIF
IF inpL1 = 2 ;change Email address
SETTEMP temp = email
GOSUB GetEMail
IF temp <> email
BUSY 1
ARGUMENT "Please wait for a moment while the wizard rebuilds your home page to include the new E-Mail address."
GOSUB BuildHomePage ;rebuild the home page (in HOMEPAGE.DAT)
DESCRIPTION One or more of the pieces of required information were left blank. You will not be able to publish your site (upload the files to the Web) until you have entered all of the required information. This is just to let you know that the wizard is watching you. I'll ask you again later for the required information.
ENDIF
ENDIF ;if inpL1 =3
IF inpL1 = 4 ;colors and font for TEXT2PIX
GOSUB ChangeTextPixCfg
ENDIF
IF inpL1 = 5
GOSUB ServiceDept
ENDIF
SETTEMP beenOnce = 1
SETTEMP inpL1 = 6
GOTO ModifyUserSettings
ENDIF
SETTEMP beenOnce = 0
;xxxxxxxxxxxx SERVICE DEPARTMENT CHANGES xxxxxxxxxxxxxxxxx
[ServiceDept]
IF inpL1 = 5 ;show 1st time only
BACKSTOP
PAGE
WIZPIC wizpics\wizwarn.gif
TYPE DESCRIPTION
DESCRIPTION DO NOT PROCEED UNLESS DIRECTED BY EXPERT'S SERVICE PERSONNEL\n\nThe following section is provided to help our service personnel help you.\n\nIt can be very dangerous and destructive to your family Web site if misused.
SETTEMP inpL1 = 0
ENDIF
SETTEMP temp = ""
BACKSTOP
PAGE
NOSPELLCHECK
WIZPIC wizpics\wizwarn.gif
TYPE EDIT
NAME temp
PROMPT &Enter Varname:
COPY temp2 = eval( temp )
BACKSTOP
PAGE
WIZPIC wizpics\wizwarn.gif
TYPE EDIT
NAME temp2
PROMPT New &Value:
IF temp2 <> eval( temp )
COPY eval( temp ) = temp2
MESSAGEBOX "Change Made. Do another?"
ARGUMENT temp,2,2
IF temp = YY
GOTO ServiceDept
ENDIF
ENDIF
GOSUB SaveVariables
;xxxxxxxxxxxxxxxxxxxxxxx CHANGE FONTS AND TEXT COLOR xxxxxxxxxxxxxxx
[ChangeTextPixCfg]
SETTEMP inpL2 = 4
BACKSTOP
PAGE
TYPE RADIOBUTTONSWITHTEXT
WIZPIC wizpics\wiztheme.gif
DESCRIPTION You can change the font, the color of the text, and the color of the background to modify the appearance of the pictures that are made when you omit a family member's photo.\n\nChoose one of these items to change.
NAME inpL2
ARGUMENT "&Font of the text"@1@"\nYou can choose any font on your system to use for the text picture that is made in place of a family member photograph."
ARGUMENT "&Color of the text"@2@"\nYou can select the color which the text is drawn in.\n\nBe sure to choose a color with plenty of contrast to the background color."
ARGUMENT "&Background color"@3@"\nYou can choose a background color on which the text will be drawn.\n\nBe sure to choose a color that provides plenty of contrast with the color of the text itself."
ARGUMENT "&Done with changes"@4@"\nChoose this item when you are finished changing the colors and font."
IF inpL2 = 1
IF textPixFont = ""
SET textPixFont = "Times New Roman,32,1" ; 32 point bold
ENDIF
BACKSTOP
PAGE
WIZPIC wizpics\monwiz.gif
PROMPT Font to use
TYPE FONT
NAME textPixFont
DESCRIPTION You can pick the font and size to be used in creating a picture with the person's name. You can choose any font which is installed on your computer. Since the person's name will be made into a picture, you don't have to worry whether the font is installed on a browser's system.\n\nSelect a font for the text.
ENDIF
IF inpL2 = 2
IF textPixColor = ""
SET textPixColor = "128,0,0" ;maroon
ENDIF
BACKSTOP
PAGE
WIZPIC wizpics\wiztheme.gif
TYPE SIMPLECOLOR
DESCRIPTION Pick a color for the text. Make sure the color you choose provides enough contrast with the background color you have chosen.\n\nClick on one of the colored squares below to choose the color you desire.
NAME textPixColor
ENDIF
IF inpL2 = 3
IF textPixBGColor = ""
SET textPixBGColor = "192,192,192" ;silver
ENDIF
BACKSTOP
PAGE
WIZPIC wizpics\wiztheme.gif
TYPE SIMPLECOLOR
DESCRIPTION Select a background color for the text picture. Make sure the color you choose provides enough contrast with the text color you have chosen.\n\nClick on one of the colored squares below to choose the color you desire.
NAME textPixBGColor
ENDIF
IF inpL2 <> 4
GOTO ChangeTextPixCfg
ENDIF
MESSAGEBOX "The changes you have made will only apply to new family members you create after this. If you want to have these changes affect members you have already set up, choose the family member and change their photo to force the change to be made."
ARGUMENT "Before stopping, the wizard must update any changed pages in your site and store all his tools until next time. It will take just a moment."
SETTEMP pers_fam_mode = "personal"
IF doBuild = YY ;finalize pending changes
GOSUB BuildMemberPages
ENDIF
SETTEMP pers_fam_mode = "family"
IF FavBuild = YY
SETTEMP favoritesVarRoot = ""
GOSUB BuildFamFavoritesPages
BUILDLINKS
ENDIF
IF NotionBuild = YY
SETTEMP notionVarRoot = ""
GOSUB BuildFamNotionPages
BUILDLINKS
ENDIF
IF PastimesBuild = YY
SETTEMP pastimeVarRoot = ""
GOSUB BuildPastimePages
BUILDLINKS
ENDIF
GOSUB SaveVariables
BUSY 0
IF nLoads < 35
SETTEMP temp = "Don't forget! To restart the Homepage Expert and get the guidance of your friendly wizard family, use the menu bar at the top of the program."
SETTEMP temp2 = "Click on the menu labeled Website and then choose the item Homepage Expert to get right back to make changes, additions, to publish, or anything else."
MESSAGEBOX temp," ",temp2
ENDIF
[SaveVariables] ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SAVEVARIABLES
ARGUMENT changeextension( ProjectFile "VAR" )
SETTEMP lastProject = ProjectFile
SAVEVARIABLES
ARGUMENT modulepath( "WWDATA.VAR" )
ARGUMENT lastProject
;xxxxxxxxxxxxxxxxxx BUILD THE FUN LINKS PAGE xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
;xxxxxxxxxxx SELECT PLACEHOLDER FAMILY PHOTO xxxxxxxxxxxxxxxxxxx
[GetFamPlaceholderPix]
SETTEMP fampix_prompt = "Since you don't have a family photo in digital format, you can substitute a general picture in place of your family photo.\n\nLater, when you get a digital format photograph of the family (or if you find another picture you like better), you can use the wizard to automatically substitute it throughout your Web site."
SETTEMP temp = "This section allows you to add and maintain a 'Family and Friends E-Mail Directory' within your family Web site, with up to 25 different people and their E-Mail addresses. You can add, modify, and remove entries in this listing.\n\nChoose from the list below to proceed."
IF nEmails > 0
PAGE
WIZPIC wizpics\mailwiz.gif
TYPE RADIOBUTTONS
DESCRIPTION_RE temp
NAME inpL2
ARGUMENT "&Add a new E-Mail entry"@0
ARGUMENT "&Modify an existing entry"@1
ARGUMENT "&Remove an entry from the list"@2
ARGUMENT "&Done with E-Mail Directory"@3
NOPREVIOUS
ELSE
PAGE
WIZPIC wizpics\mailwiz.gif
TYPE RADIOBUTTONS
DESCRIPTION_RE temp
NAME inpL2
ARGUMENT "&Add a new E-Mail entry"@0
ARGUMENT "&Done with E-Mail Directory"@3
ENDIF
IF inpL2 = 0 ;add
SETTEMP nEmailEntry = add( nEmails 1 )
GOSUB EditEmailEntry
GOTO AddOrEditMailBook
ENDIF
IF inpL2 = "1" ;edit
IF nEmails > 1
GOSUB PickMailEntry
ELSE
SETTEMP nEmailEntry = 1
ENDIF
GOSUB EditEmailEntry
GOTO AddOrEditMailBook
ENDIF
IF inpL2 = "2" ;delete
IF nEmails > 1
GOSUB PickMailEntry
ELSE
SETTEMP nEmailEntry = 1
ENDIF
MESSAGEBOX "Are you sure you want to remove the entry for ",arrayelement( emailNames nEmailEntry ),"?"
DESCRIPTION If you have a photo of the person whose E-Mail address you are listing, you can include it too! If you do not have a photo, just leave the first box blank.\n\nIn the second box, enter the person's name as you would like it to appear on the directory listing page. For example, you could enter 'Fred Colson' or 'Aunt Sophie'.
WIZPIC wizpics\mailwiz.gif
TYPE PICTUREANDCAPTION
PROMPT P&icture (this is optional):
NAME pixfield
ARGUMENT Person's N&ame:@field1
IF field1 = ""
MESSAGEBOX "You cannot leave the name blank. This is how the person will be recognized on the directory page."
UNWIND NameEntry
ENDIF
IF pixfield <> ""
SETTYPE pixfield = normal
SETSCALE pixfield = 120 120
ENDIF
BACKSTOP
PAGE
NOSPELLCHECK
DESCRIPTION_RE "Now enter the E-Mail address for ",field1,".\n\nIt will be some name, separated by the 'at sign' (@), followed by a network server. For example, billy@hotnet.com or martha352@aol.com."
WIZPIC wizpics\mailwiz.gif
TYPE EDIT
NAME field2
PROMPT &E-Mail Address:
SET arrayelement( emailNames nEmailEntry ) = field1
SET arrayelement( emailAddresses nEmailEntry ) = field2
SET arrayelement( emailPictures nEmailEntry ) = pixfield
[PickMailEntry]
SETTEMP nEmailEntry = 1
BACKSTOP
PAGE
WIZPIC wizpics\mailwiz.gif
DESCRIPTION Pick an entry from the list shown below. Highlight the desired entry and then press the Next button.
TYPE LIST
NAME nEmailEntry
ARGUMENT arrayelement( emailNames 1 )@1
ARGUMENT arrayelement( emailNames 2 )@2
ARGUMENT arrayelement( emailNames 3 )@3
ARGUMENT arrayelement( emailNames 4 )@4
ARGUMENT arrayelement( emailNames 5 )@5
ARGUMENT arrayelement( emailNames 6 )@6
ARGUMENT arrayelement( emailNames 7 )@7
ARGUMENT arrayelement( emailNames 8 )@8
ARGUMENT arrayelement( emailNames 9 )@9
ARGUMENT arrayelement( emailNames 10 )@10
ARGUMENT arrayelement( emailNames 11 )@11
ARGUMENT arrayelement( emailNames 12 )@12
ARGUMENT arrayelement( emailNames 13 )@13
ARGUMENT arrayelement( emailNames 14 )@14
ARGUMENT arrayelement( emailNames 15 )@15
ARGUMENT arrayelement( emailNames 16 )@16
ARGUMENT arrayelement( emailNames 17 )@17
ARGUMENT arrayelement( emailNames 18 )@18
ARGUMENT arrayelement( emailNames 19 )@19
ARGUMENT arrayelement( emailNames 20 )@20
ARGUMENT arrayelement( emailNames 21 )@21
ARGUMENT arrayelement( emailNames 22 )@22
ARGUMENT arrayelement( emailNames 23 )@23
ARGUMENT arrayelement( emailNames 24 )@24
ARGUMENT arrayelement( emailNames 25 )@25
[RemoveEmailEntry]
IF nEmails = 1
SET emailNames = ""
SET emailPictures = ""
SET emailAddresses = ""
SET nEmails = 0
ELSE
GOTO RemoveEmailEntryX
ENDIF
[RemoveEmailEntryX]
IF nEmailEntry <= 25
SETTEMP next = add( nEmailEntry 1 )
SET arrayelement( emailNames nEmailEntry ) = arrayelement( emailNames next )
SET arrayelement( emailPictures nEmailEntry ) = arrayelement( emailPictures next )
SET arrayelement( emailAddresses nEmailEntry ) = arrayelement( emailAddresses next )
SET nEmailEntry = next
GOTO RemoveEmailEntryX
ENDIF
SET nEmails = subtract( nEmails 1 )
[BuildEmailDirectory]
BUSY 1
ARGUMENT "Please wait for a moment while the wizard builds your E-Mail directory page, and updates your site."
SETDIVIDER emailNames = "|"
SETDIVIDER emailpictures = "|"
SETDIVIDER emailAddresses = "|"
SET nEmails = countelements( emailAddresses )
CLOSETOPICS 1
CLOSETOPICS 0
SETPARENTTOPIC pageContents
SETTEMP temp = "The ",familyLastName," Family"
SETTEMP temp2 = temp," E-Mail Directory"
BUILDTOPIC "##FamMailBookPage"
REPLACE pageMailBook
"Family email addresses"
none
1
0 ; links
2 ; # fields
temp
temp2
SET pageMailBook = topicfromsymbolic( "##FamMailBookPage" )
;xxxxxxxxxxxxxxxxxxx MAKE EMPTY PAGE xxxxxxxxxxxxxxxxxxxxxxx
[MakeEmptyPage]
SETPARENTTOPIC = ""
BUILDTOPIC emptyPageName
REPLACE emptyPageIntName
"Empty Page"
none ; backdrop
0 ; level
0 ; links
1 ; # of fields
"Unused Page"
[CommonInit]
SETTEMP YY = "Yes"
SETTEMP NN = "No"
SETTEMP temp = ""
SETTEMP temp2 = ""
SETTEMP inpL1 = 0
SETTEMP inpL2 = 0
SETTEMP inpL0 = 0
SETTEMP PrevwTxt = "Wait just a moment as the wizard prepares files for your browser. Then, the wizard will launch your Browser program. You may need to maximize your browser program when it starts."